<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="http://cdn.static.runoob.com/libs/jquery/1.10.2/jquery.min.js"></script>
	</head>
	<body>
		<p>你好</p>
		<button>点击</button>
		<div id="table">
			<table border="1" cellspacing="" cellpadding="">
				<tr>
				<td>Data</td>
				<td>Data</td>
				</tr>
								<tr>
				<td>Data</td>
				<td>Data</td>
				</tr>
								<tr>
				<td>Data</td>
				<td>Data</td>
				</tr>
			</table>
			
			
		</div>
		<script>
			$("button").click(function(){
				$("p").toggle();
			})
			
			$("#table tr:even").css("background-color","red");
		</script>
	</body>
</html>
